import imgUrl from './assets/img2.png';
import './index.styl';
// 插图片
const img = new Image();
img.src = "dist/" + imgUrl;// 添加dist头目录
img.onload = function(){
    document.body.appendChild(img);
}